package cn.itsource.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;

/**
 * @program fccar_240420
 * @Description
 * @Date 2024/09/03 16:27
 * @Version 1.0
 */
@Data
public class RegisterDto {
    @NotEmpty(message = "请求参数错误")
    private String code;
    @Range(min = 0,max = 2,message = "请求参数错误")
    private Integer type;
}
